Optimal. Leaf size=57 \[ -\frac {\sqrt {2-e x}}{4 \sqrt {3} e (2+e x)}-\frac {\tanh ^{-1}\left (\frac {1}{2} \sqrt {2-e x}\right )}{8 \sqrt {3} e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {641, 44, 65,
212} \begin {gather*} -\frac {\sqrt {2-e x}}{4 \sqrt {3} e (e x+2)}-\frac {\tanh ^{-1}\left (\frac {1}{2} \sqrt {2-e x}\right )}{8 \sqrt {3} e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 65
Rule 212
Rule 641
Rubi steps
\begin {align*} \int \frac {1}{(2+e x)^{3/2} \sqrt {12-3 e^2 x^2}} \, dx &=\int \frac {1}{\sqrt {6-3 e x} (2+e x)^2} \, dx\\ &=-\frac {\sqrt {2-e x}}{4 \sqrt {3} e (2+e x)}+\frac {1}{8} \int \frac {1}{\sqrt {6-3 e x} (2+e x)} \, dx\\ &=-\frac {\sqrt {2-e x}}{4 \sqrt {3} e (2+e x)}-\frac {\text {Subst}\left (\int \frac {1}{4-\frac {x^2}{3}} \, dx,x,\sqrt {6-3 e x}\right )}{12 e}\\ &=-\frac {\sqrt {2-e x}}{4 \sqrt {3} e (2+e x)}-\frac {\tanh ^{-1}\left (\frac {1}{2} \sqrt {2-e x}\right )}{8 \sqrt {3} e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.26, size = 74, normalized size = 1.30 \begin {gather*} -\frac {2 \sqrt {4-e^2 x^2}+(2+e x)^{3/2} \tanh ^{-1}\left (\frac {2 \sqrt {2+e x}}{\sqrt {4-e^2 x^2}}\right )}{8 \sqrt {3} e (2+e x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(87\) vs.
\(2(43)=86\).
time = 0.55, size = 88, normalized size = 1.54
method | result | size |
default | \(-\frac {\sqrt {-e^{2} x^{2}+4}\, \left (\sqrt {3}\, \arctanh \left (\frac {\sqrt {-3 e x +6}\, \sqrt {3}}{6}\right ) e x +2 \sqrt {3}\, \arctanh \left (\frac {\sqrt {-3 e x +6}\, \sqrt {3}}{6}\right )+2 \sqrt {-3 e x +6}\right ) \sqrt {3}}{24 \sqrt {\left (e x +2\right )^{3}}\, \sqrt {-3 e x +6}\, e}\) | \(88\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 115 vs.
\(2 (44) = 88\).
time = 3.33, size = 115, normalized size = 2.02 \begin {gather*} \frac {\sqrt {3} {\left (x^{2} e^{2} + 4 \, x e + 4\right )} \log \left (-\frac {3 \, x^{2} e^{2} - 12 \, x e + 4 \, \sqrt {3} \sqrt {-3 \, x^{2} e^{2} + 12} \sqrt {x e + 2} - 36}{x^{2} e^{2} + 4 \, x e + 4}\right ) - 4 \, \sqrt {-3 \, x^{2} e^{2} + 12} \sqrt {x e + 2}}{48 \, {\left (x^{2} e^{3} + 4 \, x e^{2} + 4 \, e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\sqrt {3} \int \frac {1}{e x \sqrt {e x + 2} \sqrt {- e^{2} x^{2} + 4} + 2 \sqrt {e x + 2} \sqrt {- e^{2} x^{2} + 4}}\, dx}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\sqrt {12-3\,e^2\,x^2}\,{\left (e\,x+2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________